package question5;

public class Student extends Person {
    private String stID;

    public Student() {
    }

    public Student(String name, String sex, String age, String stID) {
        super(name, sex, age);
        this.stID = stID;
    }

    public String getStID() {
        return stID;
    }

    public void setStID(String stID) {
        this.stID = stID;
    }
    @Override
    public void eat(){
        System.out.println("吃营养餐");
    }
}
